Skip to content

Don't separate array parameter #6243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 30, 2020

No description provided.

@@ -1096,11 +1088,13 @@ PHP_FUNCTION(odbc_execute)
close(params[i].fp);
}
}
zend_string_release(tmpstr);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given how often this code is repeated, maybe sprinkle some goto error?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went with extracting a function to reset/release the params for now.

@php-pulls php-pulls closed this in 3eae7aa Oct 5, 2020
@cmb69 cmb69 deleted the cmb/odbc-execute-no-separate branch October 5, 2020 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants